<!-- 主题发起 -->
	<!-- tab 切换 -->
	<ul class="nav nav-tabs aw-nav-tabs active">
		<li class="active"><a href="http://wenda.bootcss.com/publish/">问题</a></li>
		<h2 class="hidden-xs">
			<i class="icon icon-ask"></i> 发起
		</h2>
	</ul>
	<!-- end tab 切换 -->
<div ng-init="init();">
	<form action="http://wenda.bootcss.com/publish/ajax/publish_question/"
		method="post" id="question_form" onsubmit="return false;">
		<input type="hidden" name="post_hash" value="899B60B743AA3962">
		<input type="hidden" name="attach_access_key"
			value="a8db4c78344ebeb9c95e479b20ce4a7c"> <input
			type="hidden" name="question_id" id="question_id" value=""> <input
			type="hidden" name="ask_user_id" value="">
		<div class="aw-mod aw-mod-publish">
			<div class="mod-body">
				<h3>问题标题:</h3>
				<!-- 问题标题 -->
				<div class="aw-publish-title active">
					<div>
						<input type="text" placeholder="问题标题..." name="question_content"
							id="question_contents" value="" class="form-control">
						<div class="aw-publish-suggest-question hide">
							<p class="text-color-999">你的问题可能已经有答案</p>
							<ul class="aw-dropdown-list">
							</ul>
						</div>
					</div>
				</div>
				<!-- end 问题标题 -->

				<h3>问题补充 (选填):</h3>
				<div class="aw-mod aw-editor-box">
					<div class="mod-head">
						<div class="wmd-panel">
							<div id="wmd-button-bar">
								<div id="wmd-button-row" class="btn-toolbar">
									<div class="btn-group wmd-button-group1" id="wmd-button-group1">
										<button class="btn" id="wmd-bold-button" title=""
											data-original-title="加粗 - Ctrl+B">
											<i class="icon icon-bold"></i>
										</button>
										<button class="btn" id="wmd-italic-button" title=""
											data-original-title="斜体 - Ctrl+I">
											<i class="icon icon-italic"></i>
										</button>
										<button class="btn" id="wmd-heading-button" title=""
											data-original-title="标题 - Ctrl+H">
											<i class="icon icon-h"></i>
										</button>
									</div>
									<div class="btn-group wmd-button-group2" id="wmd-button-group2">
										<button class="btn" id="wmd-olist-button" title=""
											data-original-title="数字列表 - Ctrl+O">
											<i class="icon icon-ol"></i>
										</button>
										<button class="btn" id="wmd-ulist-button" title=""
											data-original-title="普通列表 - Ctrl+U">
											<i class="icon icon-ul"></i>
										</button>
									</div>
									<div class="btn-group wmd-button-group4" id="wmd-button-group4">
										<button class="btn" id="wmd-quote-button" title=""
											data-original-title="引用 - Ctrl+H">
											<i class="icon icon-quote"></i>
										</button>
										<button class="btn" id="wmd-code-button" title=""
											data-original-title="代码 - Ctrl+K">
											<i class="icon icon-code"></i>
										</button>
									</div>
									<div class="btn-group wmd-button-group3" id="wmd-button-group3">
										<button class="btn" id="wmd-image-button" title=""
											data-original-title="图片 - Ctrl+G">
											<i class="icon icon-image"></i>
										</button>
										<button class="btn" id="wmd-video-button" title=""
											data-original-title="视频 - Ctrl+E">
											<i class="icon icon-video"></i>
										</button>
										<button class="btn" id="wmd-link-button" title=""
											data-original-title="链接 - Ctrl+L">
											<i class="icon icon-bind"></i>
										</button>
									</div>
									<div class="btn-group wmd-button-group5" id="wmd-button-group5">
										<button class="btn" id="wmd-undo-button" title=""
											data-original-title="撤销 - Ctrl+Z" disabled="">
											<i class="icon icon-undo"></i>
										</button>
										<button class="btn" id="wmd-redo-button" title=""
											data-original-title="重做 - Ctrl+Y" disabled="">
											<i class="icon icon-redo"></i>
										</button>
									</div>
									<div class="btn-group wmd-button-group6 pull-right"
										id="wmd-button-group6">
										<button class="btn" id="wmd-quote-button" title=""
											data-original-title="开关预览模式">
											<i class="icon icon-preview"></i>
										</button>
										<button class="btn" id="wmd-quote-button" title=""
											data-original-title="编辑器语法帮助">
											<i class="icon icon-help"></i>
										</button>
									</div>
								</div>
								<div class="wmd-helper hide">
									<ul class="clearfix">
										<li class="active">标题 / 粗斜体</li>
										<li>代码片段</li>
										<li>超链接 / 图片 / 视频</li>
										<li>列表 / 引用</li>
									</ul>
									<div class="content">
										<div class="tab-pane active">
											<p>文章内容较多时，可以用标题分段 :</p>
											<pre>## 大标题 <br>### 小标题</pre>
											<p>斜体 / 粗体 :</p>
											<pre>**粗体** <br>*斜体* <br>***粗斜体*** </pre>
										</div>
										<div class="tab-pane hide">
											<p>代码片段 :</p>
											<pre>{{{<br>代码片段<br>}}}</pre>
										</div>
										<div class="tab-pane hide">
											<p>超链接 :</p>
											<pre>[链接文字](链接地址) 例: [百度](http://www.baidu.com)</pre>
											<p>图片 :</p>
											<pre>![图片说明](图片地址) 例: ![百度logo](http://www.baidu.com/img/bdlogo.gif)</pre>
											<p>视频 :</p>
											<pre>!![视频说明](视频地址) 例: !![优酷视频](http://youku.com)</pre>
										</div>
										<div class="tab-pane hide">
											<p>有序列表 :</p>
											<pre>1. 123<br>2. 123<br>3. 123</pre>
											<p>无序列表 :</p>
											<pre>- 123<br>- 123<br>- 123<br>
											</pre>
											<p>引用 : ( 双回车后结束引用 )</p>
											<pre>&gt; 引用内容<br>引用内容<br>引用内容</pre>
										</div>
									</div>
								</div>
							</div>
							<textarea class="wmd-input form-control autosize" id="wmd-input"
								rows="15" name="question_detail"
								style="overflow: hidden; word-wrap: break-word; resize: none; height: 312px;"></textarea>
						</div>
					</div>
					<div class="mod-body">
						<span class="pull-right text-color-999"
							id="question_detail_message">&nbsp;</span>
						<div class="aw-upload-box">
							<a class="btn btn-default"><form method="post"
									enctype="multipart/form-data" id="upload-form"
									action="http://wenda.bootcss.com/publish/ajax/attach_upload/id-question__attach_access_key-a8db4c78344ebeb9c95e479b20ce4a7c"
									target="ajaxUpload">
									<input type="submit" class="submit"><input type="file"
										class="file-input" name="aws_upload_file" multiple="multiple">
								</form>上传附件</a>
							<div class="upload-container">
								<ul class="upload-list"></ul>
							</div>
							<span class="text-color-999 aw-upload-tips hidden-xs">允许 :
								jpg,jpeg,png,gif,zip,doc,docx,rar,pdf,psd</span>
						</div>
					</div>
					<div class="mod-footer">
						<div id="wmd-preview" class="wmd-panel wmd-preview"
							style="display: none;"></div>
					</div>
				</div>
				<h3>添加话题:</h3>
				<div class="aw-topic-bar active" data-type="publish">
					<div class="tag-bar clearfix">


						<span class="aw-edit-topic icon-inverse" style="display: none;"><i
							class="icon icon-edit"></i> 编辑话题</span>

					</div>
					<div class="aw-edit-topic-box form-inline" style="display: block;">
						<input type="text" class="form-control" id="aw_edit_topic_title"
							autocomplete="off" placeholder="创建或搜索添加新话题..."><a
							class="btn btn-normal btn-success add">添加</a><a
							class="btn btn-normal btn-gray close-edit">取消</a>
						<div class="aw-dropdown">
							<p class="title">没有找到相关结果</p>
							<ul class="aw-dropdown-list"></ul>
						</div>
					</div>
				</div>
			</div>
			<div class="mod-footer clearfix">
				<a href="http://wenda.bootcss.com/page/integral" target="_blank">[积分规则]</a>
				<span class="aw-anonymity"> </span> <a
					class="btn btn-large btn-success btn-publish-submit"
					id="publish_submit" ng-click="submit();">确认发起</a>
					<!-- onclick="AWS.ajax_post($('#question_form')); return false;" -->
			</div>
		</div>
	</form>
</div>
<!-- end 主题发起 -->